.class Lcom/waiqin365/compons/camera/al;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/compons/c/l;


# instance fields
.field final synthetic a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->p(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Z)Z

    iget-object v0, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    const-string/jumbo v1, ""

    invoke-static {v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Ljava/lang/String;)Ljava/lang/String;

    new-instance v0, Ljava/util/Date;

    invoke-direct {v0}, Ljava/util/Date;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v3}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->s(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Ljava/text/SimpleDateFormat;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, " ( \u624b\u673a\u65f6\u95f4 ) "

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->b(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Ljava/lang/String;)Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    new-instance v1, Lcom/waiqin365/compons/camera/an;

    invoke-direct {v1, p0}, Lcom/waiqin365/compons/camera/an;-><init>(Lcom/waiqin365/compons/camera/al;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->runOnUiThread(Ljava/lang/Runnable;)V

    return-void
.end method

.method public a(Lcom/waiqin365/compons/c/f;)V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->p(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Z)Z

    iget-object v0, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    new-instance v1, Ljava/util/Date;

    invoke-direct {v1}, Ljava/util/Date;-><init>()V

    invoke-static {v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Ljava/util/Date;)Ljava/util/Date;

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    new-instance v1, Lcom/waiqin365/compons/c/f;

    invoke-direct {v1, p1}, Lcom/waiqin365/compons/c/f;-><init>(Lcom/waiqin365/compons/c/f;)V

    invoke-static {v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Lcom/waiqin365/compons/c/f;)Lcom/waiqin365/compons/c/f;

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->q(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Lcom/waiqin365/compons/c/f;

    move-result-object v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v0}, Lcom/waiqin365/compons/c/d;->a(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v2}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->q(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Lcom/waiqin365/compons/c/f;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/compons/c/f;->e()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "(\u6a21\u62df\u4f4d\u7f6e)"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Ljava/lang/String;)Ljava/lang/String;

    :goto_1
    :try_start_0
    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "yyyy-MM-dd HH:mm:ss"

    invoke-static {}, Ljava/util/Locale;->getDefault()Ljava/util/Locale;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    iget-object v1, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-virtual {p1}, Lcom/waiqin365/compons/c/f;->d()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->b(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Ljava/util/Date;)Ljava/util/Date;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    iget-object v1, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->s(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Ljava/text/SimpleDateFormat;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v2}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->r(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Ljava/util/Date;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->b(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Ljava/lang/String;)Ljava/lang/String;
    :try_end_0
    .catch Ljava/text/ParseException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    new-instance v1, Lcom/waiqin365/compons/camera/am;

    invoke-direct {v1, p0}, Lcom/waiqin365/compons/camera/am;-><init>(Lcom/waiqin365/compons/camera/al;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->runOnUiThread(Ljava/lang/Runnable;)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Lcom/waiqin365/compons/c/f;)Lcom/waiqin365/compons/c/f;

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    iget-object v1, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->q(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/compons/c/f;->e()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Ljava/lang/String;)Ljava/lang/String;

    goto :goto_1

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/text/ParseException;->printStackTrace()V

    goto :goto_2

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    const-string/jumbo v1, ""

    invoke-static {v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Ljava/lang/String;)Ljava/lang/String;

    new-instance v0, Ljava/util/Date;

    invoke-direct {v0}, Ljava/util/Date;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/waiqin365/compons/camera/al;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v3}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->s(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Ljava/text/SimpleDateFormat;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, " ( \u624b\u673a\u65f6\u95f4 ) "

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->b(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Ljava/lang/String;)Ljava/lang/String;

    goto :goto_2
.end method
